#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>
int main(void)
{
	int i = 0, j = 2, ch[8]{};
	for (i = 0; i < 8; i++)
		ch[i] = pow(2, i);
	int n = 0;
	do
	{
		printf("%d ", ch[n]);
		n++;
	} while (n < 8);

	return 0;
}